package com.gzx.asr.feign;

import com.gzx.asr.feign.req.GzxHtCallReceiptBusinessVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author xbl
 */
@FeignClient(name = "gzx-asr-app", contextId = "AsrFeign")
public interface GzxAsrFeign {

    /**
     * 录音文件url转语文字
     */
    @RequestMapping("/feign/funasr/voiceToText")
    String voiceToText(@RequestBody List<GzxHtCallReceiptBusinessVo> urlList);
}
